﻿using System;
using System.ServiceModel;
using NL.ADA.Common;

namespace NL.ADA.ConfigService
{
    // NOTE: If you change the interface name "IConfigService" here, you must also update the reference to "IConfigService" in App.config.
    
    [ServiceContract]
    public interface IConfigService
    {
        [OperationContract]
        DateTime GetModified(int appId, int modeId);
        [OperationContract]
        int GetModeIdByCode(string mode);
        [OperationContract]
        int GetApplicationIdByCode(string applicationCode);
        [OperationContract]
        CustomConfigList GetAllConfigs(int appId,int modeId);
        [OperationContract]
        bool IsConnection();
    }

}
